package com.member.shop.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.member.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 秒杀页对象 sys_biz_seckill_page
 *
 * @author lixinchen
 * @date 2025-04-12
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public class SysBizSeckillPageExport implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 租户id
     */
    @Excel(name = "站点",needMerge=true)
    private String name;


    /**
     * 标题
     */
    @Excel(name = "标题",needMerge=true)
    private String title;


    /**
     * 活动开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss",needMerge=true)
    private Date activityStartTime;


    /**
     * 活动截止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "活动截止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss",needMerge=true)
    private Date activityEndTime;


    /**
     * 是否上架(0:上架，1:下架)
     */
    @Excel(name = "是否上架", readConverterExp = "0=上架,1=下架",needMerge=true)
    private Integer displayed;


    /**
     * 商品Id
     */
    private String goodsId;

    /**
     * 模块名称
     */
    @Excel(name = "模块名称",needMerge=true)
    private String modeleTitle;


    @Excel(name = "商品")
    List<SysBizGoodsSkuExport> goodsList;


}
